package com.hgcode.wtboot.web.rest;

import com.hgcode.wtboot.buider.OrderService;
import com.hgcode.wtboot.service.PdfGenerateService;
import com.hgcode.wtboot.service.dto.Customer;
import com.hgcode.wtboot.service.dto.QuoteItem;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.compress.utils.IOUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@RestController
@Slf4j
@RequestMapping("/api/builder")
public class BuilderResource {

	@Resource
	private OrderService mPosOrderService;

	@GetMapping("/test")
	public void  test(HttpServletRequest request) {
		mPosOrderService.getData();
	}

}
